import type { Brand, Good } from "@/types/homeTypes/homeTypes.ts";

export interface Categorie {
   id: string;
   layer: number;
   name: string;
   parent: null;
}

export interface Propertie {
   id: string | null;
   name: string;
}

export interface SalePropertie {
   id: string;
   name: string;
   selectProp?:string|null
   properties: Propertie[];
}

export interface Filter {
   picture: string;
   parentName: string;
   parentId: string;
   name: string;
   id: string;
   goods: Good[];
   brands: Brand[];
   categories: Categorie[];
   saleProperties: SalePropertie[];
}


export interface Page{
   counts:number
   page:number
   pageSize:number
   pages:number
   items:Good[]
}

